// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
import { roterPre } from '@/settings'

const merchantRouter = {
  path: `${roterPre}/merchant`,
  name: 'merchant',
  meta: {
    icon: 'el-icon-office-building',
    title: '商户管理'
  },
  alwaysShow: true,
  component: Layout,
  redirect: 'noRedirect',
  children: [
    {
      path: 'list',
      name: 'MerchantList',
      meta: {
        title: '商户列表'
      },
      component: () => import('@/views/merchant/list')
    },
    {
      path: 'application',
      name: 'MerchantApplication',
      meta: {
        title: '商户申请'
      },
      component: () => import('@/views/merchant/application')
    }
  ]
}

export default merchantRouter 